<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><#if op??><#if op="view">查看<#elseif op="edit">修改</#if><#else>新增</#if>信息</title>
	<link href="/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="place">
    	<span>位置：</span>
	    <ul class="placeul"><li><a href="/index.html">首页</a></li><li><#if op??><#if op="view">查看<#elseif op="edit">修改</#if><#else>新增</#if>通告</li></ul>
    </div>
    <br><br>
	<form action="/notice/save.html" method="post">
		<input name="id" type="hidden" value="${(notice.id)!""}">
	    <ul class="forminfo">
		    <li>
		    	<label>标题：</label>
		    	<input id="title" name="title" type="text" class="scinput input-lg" value="${(notice.title)!""}" <#if op?? && op="view">disabled=true</#if> autocomplete="off" />
		    	<i><font class="font-red">*</font></i>
		    </li>
		    <li>
		    	<label>分类：</label>
		    	<input name="categoryId" type="radio" class="radio" value="1" <#if (notice.categoryId)?? && (notice.categoryId) == 2><#else>checked="checked"</#if>  <#if op?? && op="view">disabled=true</#if>/>&ensp;通知公告&emsp;
		    	<input name="categoryId" type="radio" class="radio" value="2" <#if (notice.categoryId)?? && (notice.categoryId) == 2>checked="checked"</#if>  <#if op?? && op="view">disabled=true</#if>/>&ensp;优惠活动
		    </li>
		    <li>
		    	<label>状态：</label>
		    	<input name="status" type="radio" class="radio" value="1" <#if (notice.status)?? && (notice.status) == 2><#else>checked="checked"</#if>  <#if op?? && op="view">disabled=true</#if>/>&ensp;启用&emsp;
		    	<input name="status" type="radio" class="radio" value="2" <#if (notice.status)?? && (notice.status) == 2>checked="checked"</#if>  <#if op?? && op="view">disabled=true</#if>/>&ensp;停用
		    </li>
		    <li>
		    	<label>内容：</label>
		    	<script id="content" name="content" type="text/plain" style="height:400px; width:88%; padding-left: 65px;" <#if op?? && op="view">disabled=true</#if> autocomplete="off" >${(notice.content)!""}</script>
		    	<i><font class="font-red">*</font></i>
		    </li>
		    <li>
		    	<label>&nbsp;</label>
		    	<#if !op?? || op!="view">
		    	<input id="submitBtn" type="button" class="btn" value="提交"/>&emsp;
		    	</#if>
		    	<input id="cancelBtn" type="button" class="btn" value="返回"/>
		    </li>
	    </ul>
	</form>
</body>
<script type="text/javascript" src="/js/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="/js/ext/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/js/ext/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/js/commonAdd.js"></script>
<script type="text/javascript" src="/js/biz/noticeAdd.js"></script>
</html>